package com.fengmi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Author: 施俊豪
 * Date: 2022/1/17 16:00
 * Note: 启动类
 */
@SpringBootApplication  // 核心配置
@MapperScan(basePackages = {"com.fengmi.mapper"}) // 扫描mapper层
@EnableScheduling // 开启定时任务功能
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);

    }
}
